<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<form action="" method="post">
{% for i in date %}
    <input type="hidden" name="id" value="{{ i.id }}">
{% endfor %}
    姓名&nbsp;&nbsp;<input type="text" name="truename" value="{{ users.truename }}">
    <br>
    用户名&nbsp;&nbsp;<input type="text" name="uname" value="{{ users.uname }}">
    <br>
    密码&nbsp;&nbsp;<input type="text" name="pwd" value="{{ users.pwd }}">
    <br>
    电话&nbsp;&nbsp;<input type="text" name="tel" value="{{ users.tel }}">
    <br>
    <input type="radio" name="sex" value="1">男
    <input type="radio" name="sex" value="2">女
    <br>
    角色&nbsp;&nbsp;
    <select name="eid" id="eid">
        {% for i in listl %}
             <option value="{{ i.id }}">{{ i.rolename }}</option>
        {% endfor %}


    </select>
    <br>
    地址&nbsp;&nbsp;<input type="text" name="address" value="{{ users.address }}">
    <br>
    <input type="submit" value="提交">
</form>
</body>
</html>